﻿using System.Collections.Generic;
using System;
//
namespace PerceptiveMCAPI.Types
{
	public class campaignEmailStatsAIMResults
	{
		public int success { get; set; }
		public int error { get; set; }
		public List<EmailActivity> data { get; set; }
		//
		public campaignEmailStatsAIMResults()
		{
			data = new List<EmailActivity>();
		}
		//
		public class EmailActivity
		{
			public string email_address { get; set; }
			public List<Activity> activity { get; set; }

			public EmailActivity()
			{
				activity = new List<Activity>();

			}
			// --------------------------------
			public class Activity
			{
				public string action { get; set; }
				public DateTime timestamp { get; set; }
				public string url { get; set; }
				public string ip { get; set; }
				// ----------------
				public Activity()
				{
					timestamp = DateTime.MinValue;
				}
			}
		}
		// --------
	}
}
